(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <time.h>
time_t time()
SYNOPSIS
time_t * tloc

FUNCTION
time() returns the time since 00:00:00 GMT, January 1, 1970, measured in seconds.

INPUTS
tloc
If this pointer is non-NULL, then the time is written into this variable as well.
RESULT
The number of seconds.

NOTES
EXAMPLE
time_t tt1, tt2;

// tt1 and tt2 are the same
tt1 = time (&tt2);

// This is valid, too
tt1 = time (NULL);

BUGS
SEE ALSO
ctime(), asctime(), localtime()
INTERNALS
HISTORY
29.01.1997 digulla
Added most time functions